package com.yjCar.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@TableName
@Data
@Accessors(chain = true)
public class User {
    private Integer id;
    private String username;
    private String password;
    private Boolean sex;
    private String name;
    private String mobile;
    private String email;
    private Date birthday;
    private String address;
    private Integer money;
    private Boolean status;

    @TableField(exist = false)
    private Role role;
}
